package com.bw.services.device.model

import com.bw.common.http.Res
import com.bw.services.entity.CarManage
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Path

interface DeviceApiServer {
    @GET("/api/devices")
    suspend fun getDevice(): Res<DeviceEntity>
    @POST("/api/devices")
    suspend fun AddDevice(@Body data:AddDeviceBody): Res<AddDeviceBody>
}